package dreamtwodancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesDrawPrizeConditions 抽奖活动条件
type DanceActivitiesDrawPrizeConditions struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"` // 开始时间
	BolusNum     int64          `json:"bolusNum" gorm:"column:bolus_num;type:bigint;default:0;not null;comment:药丸数量"`         // 药丸数量
	PrizeType    int64          `json:"prizeType" gorm:"column:prize_type;type:bigint;default:0;not null;comment:奖池类型"`       // 奖池类型
	Quality      int64          `json:"quality" gorm:"column:quality;type:bigint;default:0;not null;comment:品质"`              // 品质
	IsGiveCP     int64          `json:"isGiveCP" gorm:"column:is_give_cp;type:bigint;default:0;not null;comment:是否赠送CP"`      //是否赠送CP
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`     // 创建人id
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
